[INFO] fetching crate asn1_der 0.7.1...
[INFO] checking asn1_der-0.7.1 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate asn1_der 0.7.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate asn1_der 0.7.1 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate asn1_der 0.7.1
[INFO] finished tweaking crates.io crate asn1_der 0.7.1
[INFO] tweaked toml for crates.io crate asn1_der 0.7.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded no-panic v0.1.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 592e5c7beba49e5663ae25ee6c4705521bac37ac43452afae98fefcdb321b40b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "592e5c7beba49e5663ae25ee6c4705521bac37ac43452afae98fefcdb321b40b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "592e5c7beba49e5663ae25ee6c4705521bac37ac43452afae98fefcdb321b40b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "592e5c7beba49e5663ae25ee6c4705521bac37ac43452afae98fefcdb321b40b", kill_on_drop: false }`
[INFO] [stdout] 592e5c7beba49e5663ae25ee6c4705521bac37ac43452afae98fefcdb321b40b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 634e69ca3ba766917e5662c775d6f20171fd43fea133d0a1ee3f5a0ffc80a180
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "634e69ca3ba766917e5662c775d6f20171fd43fea133d0a1ee3f5a0ffc80a180", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking asn1_der v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:47
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                  ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:59
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                              ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:68
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |         source: &Option<ErrorSource>) -> fmt::Result
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/typed/utf8_string.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     extern "C" fn is_utf8(slice: &[u8]) -> bool {
[INFO] [stdout]    |                                  ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stdout] error: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:95:47
[INFO] [stdout]     |
[INFO] [stdout] 95  |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]     |                                                  ^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 | #![cfg_attr(test, forbid(warnings))]
[INFO] [stdout]     |                          ^^^^^^^^
[INFO] [stdout]     = note: `#[forbid(improper_ctypes_definitions)]` implied by `#[forbid(warnings)]`
[INFO] [stdout]     = help: consider using `*const u8` and a length instead
[INFO] [stdout]     = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:59
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                              ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/error.rs:95:68
[INFO] [stdout]    |
[INFO] [stdout] 95 |     extern "C" fn write(f: &mut Formatter, kind: &str, desc: &str) -> fmt::Result {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `std::result::Result<(), std::fmt::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/error.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |         source: &Option<ErrorSource>) -> fmt::Result
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/typed/utf8_string.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     extern "C" fn is_utf8(slice: &[u8]) -> bool {
[INFO] [stdout]    |                                  ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asn1_der`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "634e69ca3ba766917e5662c775d6f20171fd43fea133d0a1ee3f5a0ffc80a180", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "634e69ca3ba766917e5662c775d6f20171fd43fea133d0a1ee3f5a0ffc80a180", kill_on_drop: false }`
[INFO] [stdout] 634e69ca3ba766917e5662c775d6f20171fd43fea133d0a1ee3f5a0ffc80a180
